package com.project.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Ordercopy)实体类
 *
 * @author makejava
 * @since 2023-02-14 19:23:27
 */
 @Data
 @AllArgsConstructor
 @NoArgsConstructor
public class Ordercopy implements Serializable {
    private static final long serialVersionUID = -37456282782836484L;
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    /**
     * 关联用户id
     */
    private Integer userId;
    /**
     * 关联险种类型
     */
    private Integer insurType;
    /**
     * 是否通过一级审核
     */
    private Integer passOne;
    /**
     * 一级审核意见
     */
    private String oneSuggest;
    /**
     * 是否通过二级审核
     */
    private Integer passTwo;
    /**
     * 二级审核意见
     */
    private String twoSuggest;
    /**
     * 订单状态
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date startTime;
    /**
     * 审核状态
     */
    private Integer check;
    /**
     * 关联orderid
     */
    private Integer orderId;
    /**
     * 分布式锁状态字段
     */
    private Integer distributedstate;

    public Ordercopy(Integer userId, Integer insurType, Integer passOne, String oneSuggest, Integer passTwo, String twoSuggest, Integer status, Date startTime, Integer check, Integer orderId, Integer distributedstate) {
        this.userId = userId;
        this.insurType = insurType;
        this.passOne = passOne;
        this.oneSuggest = oneSuggest;
        this.passTwo = passTwo;
        this.twoSuggest = twoSuggest;
        this.status = status;
        this.startTime = startTime;
        this.check = check;
        this.orderId = orderId;
        this.distributedstate = distributedstate;
    }
}
